package io.renren.modules.course.dao;

import io.renren.modules.course.entity.TeacherEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.renren.modules.oss.entity.MysqlOssEntity;

import java.util.List;
import java.util.Map;

/**
 * 讲师表
 * 
 * @author zlb
 * @email 316682546@qq.com
 * @date 2018-07-12 15:30:24
 */
public interface TeacherDao extends BaseMapper<TeacherEntity> {
    void insertFile(Map<String, Object> param);
    MysqlOssEntity getImgByName(String name);

    List getTeacherList();

    void updateTeacherInfo(TeacherEntity teacher);

    Integer getImgIdByName(String name);
}
